//
//  CollectionCell.m
//  MedicalMaterial
//
//  Created by 刘甲奇 on 2017/1/10.
//  Copyright © 2017年 刘甲奇. All rights reserved.
//

#import "CollectionCell.h"
#import "UIImageView+WebCache.h"

@implementation CollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(ZDGoodsModel *)model
{
    _model = model;
    [self.icon sd_setImageWithURL:[NSURL URLWithString:model.pic] placeholderImage:[UIImage imageNamed:@"gouwu"]];
    self.titleLbl.text = model.gc_name;
}
@end
